package com.app.service;

import com.app.model.PatrolGroup;
import com.app.request.PageParamRequest;
import com.app.request.PatrolGroupRequest;
import com.app.response.ArticleResponse;
import com.app.response.PatrolGroupResponse;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * <p>
 * 巡察组 服务类
 * </p>
 *
 * @author ghoul
 * @since 2024-12-17
 */
public interface IPatrolGroupService extends IService<PatrolGroup> {

    List<PatrolGroup> getAdminList(Integer type);

    boolean create(PatrolGroup request);

    boolean deleteById(Integer id);

    PatrolGroup getDetail(Integer id);

    List<PatrolGroup> getCategoryTree(List<PatrolGroup> patrolGroupList);

    boolean updateStatus(Integer id, Integer status);
}
